package field_method05;

public class PersonTest {

    public static void main(String[] args) {
        Person person = new Person();

        person.age = 1;

        person.showAge();//查看当前多少岁了

        int res = person.addAge(5);

        System.out.println("res--->当前年纪为" + res);
        person.showAge();//6

    }
}
